<?php 
	defined('_JEXEC') or die('Restricted access');
	$db =& JFactory::getDBO();
	$catid = 37;
	$q = "SELECT * FROM #__categories WHERE `id` = $catid";
	$db->setQuery($q);
	$category = $db->loadObjectList();
	$q = "SELECT * FROM #__content WHERE `catid` = $catid AND (`publish_down` = 0 OR `publish_down` >= NOW())";
	$db->setQuery($q);
	$contents = $db->loadObjectList();
	/*echo "<pre>";
	var_dump($contents);
	echo "</pre>";
	exit;*/
?>
<div class="containerUnder">
	<div class="aboutLeft">
		<div class="mainTitle"><?php echo $category[0]->title;?></div>
		<img src="<?php echo JURI::base()?>images/stories/<?php echo $category[0]->image;?>" alt=""/>
	</div>
	<div class="pressRight">
		<?php echo $contents[0]->introtext; ?><?php echo $contents[0]->fulltext; ?>
	</div>
	
	<div class="clr"></div>
</div>	